<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>Seminário 2014 - PIBIC</title>
    </h:head>
    <div align="center"  id="creditos">
        <h:graphicImage library="imagem" name="banner.jpg"/>
    </div>

    <h:body style="background: #33CC00">
        <h:form enctype="multipart/form-data">
            <div align="center">

                <p:megaMenu style="max-width: 71.65%;">
                    <p:menuitem style="background: #ffffff" value="Inicio" url="UsuarioInicio.xhtml"/>
                    <p:menuitem style="background: #ffffff" value="Perfil" url="Perfil.xhtml"/>
                    <p:menuitem style="background: #ffffff" value="MiniCursos" url="MiniCursos.xhtml" />
                    <p:menuitem style="background: #ffffff" value="Trabalhos" url="Trabalhos.xhtml" />
                    <p:menuitem style="background: #ffffff" value="Invio" url="#" />
                    <p:menuitem style="background: #ffffff" value="Apresentações" url="Apresentacoes.xhtml" />
                    <p:menuitem style="background: #ffffff" value="Anais" url="Anais.xhtml" />
                    <p:menuitem style="background: #ffffff" value="Sair" url="indexInicio.xhtml" icon="ui-icon-close" />
                </p:megaMenu> <br/>


                <fieldset style="width: 30%; border-color: #18681f; background: #ffffff">
                    <h:panelGrid columns="1">
                        <h1>Enviar Arquivo</h1>
                        <p:growl id="messages" showDetail="true" />

                        <p:fileUpload value="#{fileUploadView.file}" mode="simple" disabled="false" />

                        <p:commandButton value="Enviar" ajax="false" actionListener="#{fileUploadView.upload}" disabled="false" />


                    </h:panelGrid>

                </fieldset><br/>
                <div align="center">
                    <h:graphicImage library="imagem" name="patrocinio.png"/>
                </div>
            </div>
        </h:form>
    </h:body>
</html>
